package cn.iocoder.yudao.module.erp.controller.admin.purchaseplan.vo.purchasematerialdetail;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

@Schema(description = "管理后台 - 物料采购计划明细 Response VO")
@Data
@ExcelIgnoreUnannotated
@Accessors(chain = false)
public class PurchaseMaterialDetailExportVO {

    @Schema(description = "物料编码（NC编码）", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("物料编码（NC编码）")
    private String materialCode;

    @Schema(description = "物料名称（与NC编码中对应上）", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @ExcelProperty("物料名称（与NC编码中对应上）")
    private String materialName;

    @Schema(description = "单位")
    @ExcelProperty("单位")
    private String unit;

    @Schema(description = "规格(产品的最小包装规格)")
    @ExcelProperty("规格(产品的最小包装规格)")
    private String specification;

    @Schema(description = "物料/收货标准")
    @ExcelProperty("物料/收货标准")
    private String acceptanceStandard;

    @Schema(description = "产品要求或参考品牌")
    @ExcelProperty("产品要求或参考品牌")
    private String brandRequirements;

    @Schema(description = "送货/产品外包装要求")
    @ExcelProperty("送货/产品外包装要求")
    private String packagingRequirements;

    @Schema(description = "预估采购数量（年用量）")
    @ExcelProperty("预估采购数量（年用量）")
    private BigDecimal estimatedQuantity;

    @Schema(description = "预估单价/限价（元/含税）", example = "12715")
    @ExcelProperty("预估单价/限价（元/含税）")
    private BigDecimal estimatedUnitPrice;

    @Schema(description = "合计")
    @ExcelProperty("合计")
    private BigDecimal totalAmount;

    @Schema(description = "失败原因")
    private String message;

}